<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>基础选择器之类选择器</title>
    <style>
        /* 类选择器，样式点定义，结构类调用class,开发中常用 */
        .red {
            color: red;
        }
    </style>
</head>

<body>

    <ul>
        <li class="red">晴天</li>
        <li>大雾</li>
        <li>雨天</li>
        <li>阴天</li>
    </ul>
    <div class="red">nihao</div>
</body>

</html>